projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3bd1c
)
Clarify the docs for gtk_widget_class_set_css_name
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 2 Dec 2020 15:06:01 +0000
(10:06 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 2 Dec 2020 15:06:01 +0000
(10:06 -0500)
Reword, and mention the default css name.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 239e9ff929b998f34cf7b1ec74bf5752c1fa1871..89635ba8dc6f9e7b3c7f36c9e180356440634eca 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-10356,7
+10356,8
@@
_gtk_widget_get_sizegroups (GtkWidget *widget)
* Sets the name to be used for CSS matching of widgets.
*
* If this function is not called for a given class, the name
- * of the parent class is used.
+ * set on the parent class is used. By default, GtkWidget uses
+ * the name "widget".
*/
void
gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,